//
// Created by wujehy on 2020/9/4.
//
#include <android/log.h>
#include "Base.h"
void base_console_log(int type , const char* tag , const char* logdata)
{
    __android_log_write(type , tag , logdata);
}

void base_test_console_log(const char* logdata){
    base_console_log(ANDROID_LOG_VERBOSE, LOGGER_TYPE, logdata);
}

void debug_console_log(const char *logdata)
{
    base_console_log(ANDROID_LOG_DEBUG, LOGGER_TYPE, logdata);

}

void info_console_log(const char *logdata)
{
    base_console_log(ANDROID_LOG_INFO, LOGGER_TYPE, logdata);

}

void warn_console_log(const char *logdata)
{
    base_console_log(ANDROID_LOG_WARN, LOGGER_TYPE, logdata);
}
void error_console_log(const char *logdata)
{
    base_console_log(ANDROID_LOG_ERROR, LOGGER_TYPE, logdata);
}
